package com.ruoyi.pims.service;

import java.util.List;
import com.ruoyi.pims.domain.SalesOrderDetails;

/**
 * 销售订单明细Service接口
 * 
 * @author ruoyi
 * @date 2025-06-17
 */
public interface ISalesOrderDetailsService 
{
    /**
     * 查询销售订单明细
     * 
     * @param itemId 销售订单明细主键
     * @return 销售订单明细
     */
    public SalesOrderDetails selectSalesOrderDetailsByItemId(Long itemId);

    /**
     * 查询销售订单明细列表
     * 
     * @param salesOrderDetails 销售订单明细
     * @return 销售订单明细集合
     */
    public List<SalesOrderDetails> selectSalesOrderDetailsList(SalesOrderDetails salesOrderDetails);

    /**
     * 新增销售订单明细
     * 
     * @param salesOrderDetails 销售订单明细
     * @return 结果
     */
    public int insertSalesOrderDetails(SalesOrderDetails salesOrderDetails);

    /**
     * 修改销售订单明细
     * 
     * @param salesOrderDetails 销售订单明细
     * @return 结果
     */
    public int updateSalesOrderDetails(SalesOrderDetails salesOrderDetails);

    /**
     * 批量删除销售订单明细
     * 
     * @param itemIds 需要删除的销售订单明细主键集合
     * @return 结果
     */
    public int deleteSalesOrderDetailsByItemIds(String itemIds);

    /**
     * 删除销售订单明细信息
     * 
     * @param itemId 销售订单明细主键
     * @return 结果
     */
    public int deleteSalesOrderDetailsByItemId(Long itemId);
}
